package com.bgs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 收支明细表
 * </p>
 *
 * @author Nero
 * @since 2022-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Rande对象", description="收支明细表")
public class Rande implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "收支id")
    @TableId(value = "rande_id", type = IdType.AUTO)
    private Integer randeId;

    @ApiModelProperty(value = "收支名称")
    private String randeName;

    @ApiModelProperty(value = "花费金额")
    private Double spend;

    @ApiModelProperty(value = "订单类型（1是回收订单 2是商品订单 3是其他）")
    private Integer randeType;

    @ApiModelProperty(value = "状态（1是收入 2是支出）")
    private Integer randeState;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime creationTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除（y是删除 n是未删除）")
    private String isDel;


}
